<?php include "../../coresection/connection.php";?>
<?php include "../../coresection/checkSession.php";?>
<?php include "../../coresection/admin-product.php";?>
<?php include "../../coresection/order-list.php";?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php include '../../modules/head.php'; ?>
</head>

<body>
<?php include '../../modules/topbar.php'; ?>


<div class="setup_area">


    <?php include '../../modules/sidebar-admin.php'; ?>

    <div class="header">
        <h1>菜式库管理</h1>

        <?php include '../../modules/header.php'; ?>

    </div>


    <div class="content_area dishes_box">


                        <form id="detail_detail_form" method="post" onsubmit="return checkRequired(detail_name);"  action="detail-add-function.php "
                              enctype="multipart/form-data" name="uploadfile" class="layui-form">


                            <div class="layui-form-item">
                                <label class="layui-form-label">名称 : </label>

                                <div class="layui-input-block">
                                    <input type="text" name="detail_name" lay-verify="title" autocomplete="off"
                                           placeholder="请输入菜式名" lay-verify="required" class="layui-input" ">
                                </div>
                            </div>



                            <div class="layui-form-item">
                                <label class="layui-form-label">价格 : </label>

                                <div class="layui-input-block">
                                    <input type="text" name="detail_price" lay-verify="title" autocomplete="off"
                                           placeholder="请输入菜式名" lay-verify="required" class="layui-input" ">
                                </div>
                            </div>





                            <div class="layui-form-item">
                                <label class="layui-form-label">时段 : </label>

                                <div class="layui-input-block">
                                    <input type="radio" name="detail_at" value="1" title="早餐" checked="">
                                    <input type="radio" name="detail_at" value="2" title="午餐">
                                    <input type="radio" name="detail_at" value="3" title="晚餐" >
                                </div>
                            </div>




                            <div class="layui-form-item">
                                <label class="layui-form-label">发布状态 : </label>

                                <div class="layui-input-block">
                                    <input type="radio" name="detail_publish" value="1" title="立即发布" checked="">
                                    <input type="radio" name="detail_publish" value="2" title="暂未发布">
                                </div>
                            </div>




                            <div class="function">
                                <input type="submit" class="layui-btn" value="确认"/>
                                <input type="button" class="layui-btn" value="取消"/>
                            </div>
                        </form>
                    </ul>
                </div>
            </div>

            <!--content端點01-->
        </div>
        <!--maincontent端點01-->
        <br class="clearfloat"/>
    </div>
    <!--container端點01-->
</div>


<?php include '../../modules/footer.php'; ?>
</body>
</html>